<?php

/**
 * announcement components.
 *
 * @package    cpfaizenay
 * @subpackage announcement
 * @author     Manu
 * @version    1.0
 */
class announcementComponents extends sfComponents
{
 /**
  * Executes index action
  *
  * @param sfRequest $request A request object
  */
  public function executeHomeShow(sfWebRequest $request) {
    $this->announcement =  Doctrine::getTable('Announcement')->getAnnouncement()->fetchOne();
  }
}
